package com.kehutong.work.order.manage.enums;

import org.coraframework.util.HashID;

public enum WorkOrderStateEnum implements HashID {

    /**
     * 员工端：待处理，用户端：处理中
     */
    ING("1", "处理中"),
    SUCCESS("2", "已完结"),
    REFUND("3", "已退回"),
    REVOKE("4", "已撤销"),
    PRE_ASSIGNED("5", "待分配"),
    SEND("6", "已转交"),
    ;
    private final String id;
    private final String desc;

    private WorkOrderStateEnum(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }


    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
